var app = new Framework7({
    // App root element
    root: '#app',
    // App Name
    name: 'My App',
    routes: [
        {
            name: 'about',
            path: '/about/',
            url: 'about',
        },
        {
            name: 'login',
            path: '/login/',
            componentUrl: 'login',
        },
        {
            name: 'register',
            path: '/register/',
            componentUrl: 'register',
        }
    ]
});
var mainView = app.views.create('.view-main',{
    pushState:true

});
var swiper = app.swiper.create('.swiper-container', {
    speed: 400,
    spaceBetween: 100
});